﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200142F RID: 5167
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainVisitorBehaviorFinishCsReq : IMessage<TrainVisitorBehaviorFinishCsReq>, IMessage, IEquatable<TrainVisitorBehaviorFinishCsReq>, IDeepCloneable<TrainVisitorBehaviorFinishCsReq>, IBufferMessage
	{
		// Token: 0x17004121 RID: 16673
		// (get) Token: 0x0600E754 RID: 59220 RVA: 0x0026A658 File Offset: 0x00268858
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainVisitorBehaviorFinishCsReq> Parser
		{
			get
			{
				return TrainVisitorBehaviorFinishCsReq._parser;
			}
		}

		// Token: 0x17004122 RID: 16674
		// (get) Token: 0x0600E755 RID: 59221 RVA: 0x0026A65F File Offset: 0x0026885F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainVisitorBehaviorFinishCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004123 RID: 16675
		// (get) Token: 0x0600E756 RID: 59222 RVA: 0x0026A671 File Offset: 0x00268871
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainVisitorBehaviorFinishCsReq.Descriptor;
			}
		}

		// Token: 0x0600E757 RID: 59223 RVA: 0x0026A678 File Offset: 0x00268878
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainVisitorBehaviorFinishCsReq()
		{
		}

		// Token: 0x0600E758 RID: 59224 RVA: 0x0026A680 File Offset: 0x00268880
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainVisitorBehaviorFinishCsReq(TrainVisitorBehaviorFinishCsReq other) : this()
		{
			this.visitorId_ = other.visitorId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E759 RID: 59225 RVA: 0x0026A6A5 File Offset: 0x002688A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainVisitorBehaviorFinishCsReq Clone()
		{
			return new TrainVisitorBehaviorFinishCsReq(this);
		}

		// Token: 0x17004124 RID: 16676
		// (get) Token: 0x0600E75A RID: 59226 RVA: 0x0026A6AD File Offset: 0x002688AD
		// (set) Token: 0x0600E75B RID: 59227 RVA: 0x0026A6B5 File Offset: 0x002688B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint VisitorId
		{
			get
			{
				return this.visitorId_;
			}
			set
			{
				this.visitorId_ = value;
			}
		}

		// Token: 0x0600E75C RID: 59228 RVA: 0x0026A6BE File Offset: 0x002688BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainVisitorBehaviorFinishCsReq);
		}

		// Token: 0x0600E75D RID: 59229 RVA: 0x0026A6CC File Offset: 0x002688CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainVisitorBehaviorFinishCsReq other)
		{
			return other != null && (other == this || (this.VisitorId == other.VisitorId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E75E RID: 59230 RVA: 0x0026A6FC File Offset: 0x002688FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.VisitorId != 0U)
			{
				num ^= this.VisitorId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E75F RID: 59231 RVA: 0x0026A73B File Offset: 0x0026893B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E760 RID: 59232 RVA: 0x0026A743 File Offset: 0x00268943
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E761 RID: 59233 RVA: 0x0026A74C File Offset: 0x0026894C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.VisitorId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.VisitorId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E762 RID: 59234 RVA: 0x0026A780 File Offset: 0x00268980
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.VisitorId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.VisitorId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E763 RID: 59235 RVA: 0x0026A7BE File Offset: 0x002689BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainVisitorBehaviorFinishCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.VisitorId != 0U)
			{
				this.VisitorId = other.VisitorId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E764 RID: 59236 RVA: 0x0026A7EF File Offset: 0x002689EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E765 RID: 59237 RVA: 0x0026A7F8 File Offset: 0x002689F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.VisitorId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005B78 RID: 23416
		private static readonly MessageParser<TrainVisitorBehaviorFinishCsReq> _parser = new MessageParser<TrainVisitorBehaviorFinishCsReq>(() => new TrainVisitorBehaviorFinishCsReq());

		// Token: 0x04005B79 RID: 23417
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005B7A RID: 23418
		public const int VisitorIdFieldNumber = 10;

		// Token: 0x04005B7B RID: 23419
		private uint visitorId_;
	}
}
